package org.lilystudio.veryftp.analyzer;

import java.io.Reader;
//import java.io.IOException;

import org.apache.lucene.analysis.Analyzer;

import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.LowerCaseFilter;
import org.apache.lucene.analysis.standard.StandardTokenizer;
import org.apache.lucene.analysis.standard.StandardFilter;
/**
 * @author Emmanuel Bernard
 */
public class VeryAnalyzer extends Analyzer {


	public TokenStream tokenStream(String fieldName, Reader reader) {	
		TokenStream result=new StandardTokenizer(reader);
		result=new StandardFilter(result);
		result=new LowerCaseFilter(result);
		result=new VeryTokenFilter(result);
		return result;
	}
	

	
}
